MPHB\UserActions\BookingCancellationAction S

Total Complexity 40
Dependencies 2
Dependents 2
Total lines 217
Lines of code 120
Logical lines of code 65
Comment lines 42
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
parseRequest()
A
49 9 31
__construct()
S
65 6 8
checkCancellation()
S
62 5 11
getStatus()
S
62 4 12
redirectToConfirmCancellationPage()
S
60 3 14
redirectIfCanNotBeCancelled()
S
64 3 10
issetRequiredParameters()
S
72 3 5
generateLink()
S
62 2 11
cancellBooking()
S
64 2 9
redirectWithStatus()
S
70 2 6
bookingConfirmCancellationPageExists()
S
81 1 3